package day10_poly.demo04_ploy;
//定义接口
//格式:访问修饰符 interface 接口名{}
//范例:public interface AnimalImpl{}
//类实现接口通过implements实现
//范例:public class 类名 implements 接口{}
public interface PersonImpl {
    public abstract void eat();
    public abstract void sleep();
}
